package org.zzz.hepotaiya.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 依存関係定義アノテーション
 *
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target( { ElementType.METHOD })
public @interface Depencies {
	/**
	 * 成功依存定義配列 "class#method"
	 * 
	 * @return
	 */
	String[] success() default {};
	/**
	 * 失敗依存定義配列 "class#method"
	 * 
	 * @return
	 */
	String[] fail() default {};
}
